﻿using System.Diagnostics;
using UnityEngine;

namespace Smart.Hotfix
{
    public static class Logger
    {
        [Conditional("EnableLog")]
        public static void Log(string fmt)
        {
            Model.Logger.Log(fmt);
        }

        public static void LogError(string fmt)
        {
            Model.Logger.LogError(fmt);
        }

        [Conditional("EnableLog")]
        public static void LogModel(int modelId, string fmt)
        {
            Model.Logger.LogModel(modelId,fmt);
        }

        public static void LogModelError(int modelId, string fmt)
        {
            Model.Logger.LogModelError(modelId, fmt);
        }
    }
}